package com.forum.mapper;

import com.forum.pojo.TeacherInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

/**
* @author 86152
* @description 针对表【teacher_info】的数据库操作Mapper
* @createDate 2023-02-20 16:59:32
* @Entity com.forum.pojo.TeacherInfo
*/
@Mapper
public interface TeacherInfoMapper extends BaseMapper<TeacherInfo> {

    Integer changeAdmin(@Param("changedAdmin") Integer changedAdmin, @Param("teacherId") String teacherId);

    Integer changeStatus(Integer changedStatus, String teacherId);

    String selectTitleById(@Param("teacherId") Long teacherId);
}




